body,
p,
dl,
dd {
    margin: 0;
}
body {
    color: #333;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(https://staticsns.cdn.bcebos.com/amis/2023-1/1673329473348/%E8%83%8C%E6%99%AF.png);
    background-repeat: no-repeat;
    /* background-position: center center; */
    background-size: cover;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
th,
td {
    padding: 0;
}
button {
    background: none;
    cursor: pointer;
    padding: 0;
    border: none;
}
i {
    font-style: normal;
}
#calendar {
    width: 600px;
    height: 480px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    display: flex;
    margin: 100px auto;
}
.left {
    width: 460px;
    padding: 15px 15px 0;
    border: 2px solid #4e6ef2;
    border-color: rgb(78,110,242,.5);
    border-right: none;
    border-radius: 16px 0 0 16px;
    background: rgba(255,255,255,.5);
}
.right {
    flex: 1;
    background: rgb(78,110,242,.7);
    border-radius: 0 16px 16px 0;
    color: #fff;
    text-align: center;
}
/* .active .left{
    border-color: #eb3636;
}
.active .right{
    background: #eb3636;
} */
/* topBar */
.topBar {
    display: flex;
    justify-content: space-between;
}
.select {
    height: 30px;
    box-sizing: border-box;
    border: 1px solid #d7d9e0;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    user-select: none;
    position: relative;
}
.yearSelect {
    width: 96px;
}
.selected {
    height: 28px;
    padding: 0 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.selected i {
    font-size: 14px;
    color: #9ba2a9;
    font-family: "YaHei";
    transform: scaleX(1.5) rotate(90deg);
}
.select.active {
    border-color: #a7aab5;
}
.select.active .selected i {
    color: #767e87;
    transform: scaleX(1.5) rotate(-90deg);
}
.selectBox {
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 9px 0 9px 16px;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 10;
    display: none;
    border-radius: 3px;
}
.select.active .selectBox {
    display: block;
}
.yearSelect .selectBox {
    max-height: 312px;
    overflow: hidden;
}
.selectBox li {
    height: 27px;
    line-height: 27px;
    cursor: pointer;
}
.selectBox li :hover,
.selectBox li.active {
    color: #315efb;
}
.scroll {
    width: 4px;
    position: absolute;
    top: 9px;
    bottom: 9px;
    right: 4px;
}
.scroll span {
    width: 100%;
    height: 30px;
    background: #4e6ef2;
    position: absolute;
    top: 0;
    border-radius: 6px;
    z-index: 12;
}
.montSelect {
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.arrow {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.arrow span {
    font-size: 18px;
    color: #9c9fac;
    transform: scaleY(1.5);
    font-family: "YaHei";
    position: relative;
    bottom: 2px;
}
.montSelect .select {
    width: 80px;
}
.holidaySelect {
    width: 96px;
}
.topBar button {
    width: 68px;
    height: 30px;
    background: #f5f5f5 !important;
    border-radius: 5px;
}
/* 日期 */
.dateWrap {
    width: 100%;
    margin-top: 14px;
    border-spacing: 4px;
}
.dateWrap th {
    height: 36px;
    font-weight: normal;
}
.dateWrap td {
    width: 60px;
    height: 56px;
}
.dateWrap div {
    user-select: none;
    height: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.dateWrap div:hover,
.dateWrap div.active {
    border-color: #bdbfc8;
}
.dateWrap div span:nth-child(1) {
    font-size: 18px;
    color: #000;
}
.dateWrap div span:nth-child(2) {
    font-size: 12px;
}
.dateWrap td:nth-child(n + 6) span:nth-child(1) {
    color: #f73131;
}
.dateWrap .holiday {
    background: #fde3e4;
}
.dateWrap .holiday:hover,
.dateWrap .holiday.active {
    border-color: #f38686;
}
.dateWrap .holiday::before,
.dateWrap .weekady::before {
    content: "休";
    font-size: 12px;
    line-height: 12px;
    position: absolute;
    color: #f73131;
    top: 4px;
    left: 4px;
}
.dateWrap .holiday span:nth-child(1) {
    color: #f73131;
}
.dateWrap .weekady {
    background: #f5f5f6;
}
.dateWrap .weekady::before {
    content: "班";
    color: #333;
}
.dateWrap td .weekady span:nth-child(1) {
    color: #000;
}
.prevMonth,
.nextMonth {
    opacity: 0.4;
}
.today {
    border-color: #4e6ef2 !important;
}
#calendar .date {
    line-height: 45px;
}
#calendar .day {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    margin-bottom: 10px;
    line-height: 80px;
    font-size: 52px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}
#calendar .lunar {
    line-height: 21px;
}
#calendar .holidatList li {
    width: 112px;
    box-sizing: border-box;
    margin-top: 13px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 16px;
    position: relative;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#calendar .holidatList li:after {
    position: absolute;
    top: 6px;
    left: 8px;
    content: "";
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
}
#calendar .suit {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    margin: 10px 0 -100px;
    padding: 10px 0 100px;
}
#calendar .suit .default {
    display: flex;
    justify-content: space-around;
    user-select: none;
}
#calendar .suit .default dl {
    max-height: 200px;
    overflow: hidden;
}
#calendar .suit .default dt {
    font-size: 24px;
    margin-bottom: 5px;
}
#calendar .suit .default dd {
    line-height: 20px;
}
#calendar .suit .hover {
    width: 190px;
    background: #fff;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    right: -210px;
    top: 0;
    display: none;
}
#calendar .suit:hover .hover{
    display: block !important;
}
#calendar .suit .hover dt {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background: #4e6ef2;
    border-radius: 5px;
    margin-right: 10px;
    padding:2px 5px;
}
#calendar .suit .hover dl {
    display: flex;

}
#calendar .suit .hover dl:nth-child(2){
    margin-top: 10px;
}
#calendar .suit .hover dl:nth-child(2) dt{
    background: #f73131;
}
#calendar .suit .hover dd {
    text-align: left;
    line-height: 21px;
}
